package com.czx.user.feign;

import com.czx.core.web.domain.R;
import com.czx.user.feign.dto.TaskFeignDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


@FeignClient("demandservice")
public interface TaskFeignService {

    @GetMapping("/task/get")
    public R getTaskById(@RequestParam long id); // 正确写法
}